package com.kc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author forever_love
 * @create 2019--10--16 17:02
 **/
@SpringBootApplication
@MapperScan(basePackages = {"com.kc.*.mapper"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }

    //为了打包springBoot项目
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder){

            return builder.sources(this.getClass());
    }
}
